<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>
</head>
<body>
     <form th:action="@{/login}">
         <p th:text="${msg}" style="color: red"></p>
         <div>
             <span>用户名:</span>
             <input type="text" name="username" required>
         </div>
         <div>
             <span>密码:</span>
             <input type="password" name="password" required>
         </div>
         <input type="submit">
     </form>



</body>
</html>